#pragma once

#include "global.h"

typedef void (*MouseFunc)(POINT pt);

typedef struct CustomDialogInfo
{
	HWND hDialog;
	MouseFunc MouseDown;
	MouseFunc MouseUp;
	CustomDialogInfo* pNext;
}CustomDialogInfo;

void CreateCustomDialog(HINSTANCE hInstance,HWND hWnd, CustomDialogInfo* pInfo);
void DestroyCustomDialog(CustomDialogInfo* pInfo);
void ShowCustomDialog(CustomDialogInfo* pInfo,int nCmdShow);
void MoveCustomDialog(CustomDialogInfo* pInfo,int x,int y,int w,int h,BOOL bRepaint);